#!/usr/bin/env python

'''Demonstrates embryo's message box features.
'''

__docformat__ = 'restructuredtext'
__version__ = '$Id$'

import embryo
response = embryo.message_box(
    'This message box contains an OK and Cancel button.',
    title='Message title',
    cancel_button=True)

response = response and 'OK' or 'Cancel'

embryo.message_box('You pressed %s' % response,
                   title='Message title')

